//---------------------------------------------------------------------------

#ifndef DebugWinUH
#define DebugWinUH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Buttons.hpp>
#include <ExtCtrls.hpp>
#include <Grids.hpp>

#include "CIISCommon.h"

#define DebugMain 0
#define DebugClientInt 0
#define DebugNetIntLocal 1
#define DebugUSBCANInt 0
#define DebugRecordings 1
#define DebugNetIntRemote 0
#define DebugServerSocket 0
#define DebugClientSocket 0
#define DebugClientSocketEvent 0


//---------------------------------------------------------------------------
class TDebugWin : public TForm
{
__published:	// IDE-managed Components
        TStringGrid *StrGridDebug;
        TPanel *PanelButtons;
        TBitBtn *BitBtnClear;
        void __fastcall FormCreate(TObject *Sender);
        void __fastcall BitBtnClearClick(TObject *Sender);
        void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
private:
  int NextRow;	// User declarations
  DebugStateFP ChangeDS;

public:		// User declarations
        __fastcall TDebugWin(TComponent* Owner, DebugStateFP SetDS);
        void __fastcall Log(String Message);
};
//---------------------------------------------------------------------------
extern PACKAGE TDebugWin *DebugWin;
//---------------------------------------------------------------------------
#endif
